export interface SelectOption {
  label: string
  value: string
  icon?: string
  count?: number
}

export interface FilterOption {
  label: string
  value: string
  category: 'content' | 'status' // 分类类型
}

export interface FilterGroup {
  id: string
  label: string
  icon?: string
  options: SelectOption[]
  selectionMode: 'single' | 'multiple'
  defaultValues?: string[]
  showCount?: boolean
}

export interface FilterProps {
  id: string
  position?: 'left' | 'right'
  filterGroups: FilterGroup[]
  onChange?: (selected: Record<string, string[]>) => void
}

export const DEFAULT_FILTER_PROPS: Partial<FilterProps> = {
  position: 'right',
}
